package com.fbli.mapper;

import com.fbli.pojo.GoodsOrder;
import com.fbli.pojo.Knowledge;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsOrderMapper {

    int insert(GoodsOrder record);

    int deleteByPrimaryKey(Integer orderid);

    int updateByPrimaryKey(GoodsOrder record);

    GoodsOrder selectByPrimaryKey(Integer orderid);

    List<GoodsOrder> selectAll();

    List<GoodsOrder> selectOrder(@Param("keyword") String keyword);

    List<GoodsOrder> selectCondition(@Param("goodsOrder") GoodsOrder goodsOrder);
}